package cn.codergege.demoapp.handler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {
	private final Logger log = LoggerFactory.getLogger(HelloController.class);

	@RequestMapping("/index")
	String index() {
		log.info("Index handler works.");
		return "forward:/WEB-INF/classes/views/index.jsp";
	}

}
